package com.aurora_manito.xiaomi.service;

import com.aurora_manito.xiaomi.entity.Goods;
import com.aurora_manito.xiaomi.entity.PageBean;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Aurora_Manito
 * @since 2020-05-27
 */

@Service
public interface GoodsService extends IService<Goods> {

     List<Goods> getGoodByGoodTypeId(int i);
    //分页查询
    PageBean<Goods> getGoodByTypeIDPageBean(String typeId, PageBean<Goods> pageBean);

    Goods getGoodsById(String id);
}
